import { Injectable } from '@angular/core'

import { ObservableStore } from '@shared/classes/ObservableStoreClass'
import { IManualAuthCollection } from '@shared/interfaces/manualAuth'

@Injectable()
export class ManualAuthDataService {
  constructor() {}

  public manualAuthData$: ObservableStore<IManualAuthCollection> = new ObservableStore({})

  setManualAuthData(data: IManualAuthCollection) {
    this.manualAuthData$.setValue(data)
  }

  get manualAuthData() {
    return this.manualAuthData$.value
  }
}
